/**
 * 
 */
package com.example.radioclub.types;

import com.example.radioclub.data.Enumerations.RestMethods;
import com.example.radioclub.data.Enumerations.RestSignature;

/**
 * This class is used to form request which will be used for tasking
 * with RestGeneralJSONDownloader class which extends AsyncTask.
 * 
 * @author wizard
 *
 */
public class RestRequest {
	private RestMethods requestType;
	private RestSignature requestSignature;
	private Object requestContent;
	
	/**
	 * 
	 * @param reqType
	 * @param sign
	 * @param content
	 */
	public RestRequest(RestMethods reqType, RestSignature sign, Object content) {
		this.requestType = reqType;
		this.requestSignature = sign;
		this.requestContent = content;
	}
	
	public RestMethods getRequestType() {
		return requestType;
	}
	
	public RestSignature getRequestSignature() {
		return requestSignature;
	}
	
	public Object getRequestContent() {
		return requestContent;
	}
	
	
}
